﻿using MediatR;
using SY.BasicData.Api.Write.Basic.Applications.Cultivation.Command;
using SY.BasicData.Domain.Cultivation;
using SY.BasicData.ErrorCode;
using SY.BasicData.Infrastructures;

namespace SY.BasicData.Api.Write.Basic.Applications.Cultivation.CommandHandler
{
    public class UpdateCultivationCommandHandler : IRequestHandler<UpdateCultivationCommand, ApiResult<int>>
    {
        private readonly IBaseRepository<CultivationModel> cultivationRepository;

        public UpdateCultivationCommandHandler(IBaseRepository<CultivationModel> cultivationRepository)
        {
            this.cultivationRepository = cultivationRepository;
        }

        public Task<ApiResult<int>> Handle(UpdateCultivationCommand request, CancellationToken cancellationToken)
        {
            throw new NotImplementedException();
        }
    }
}
